@import 'antd/es/style/themes/default.less';
.sider {
  position: relative;

  box-sizing: border-box;
  height: 100%;
  padding-top: 64px;
  border-right: 1px solid #efefef;
}
.sider__header {
  font-size: 0;

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 64px;
  padding: 0 8px;

  background-color: #fff;
  // background-image: linear-gradient(to right, #2140a7 , #324cb0);
  &::before {
    display: inline-block;

    height: 100%;

    content: '';
    vertical-align: middle;
  }
  img {
    width: 40px;

    vertical-align: middle;
  }
  h1 {
    font-size: @font-size-lg;

    display: inline-block;

    margin: 0 0 0 10px;

    vertical-align: middle;

    color: #fff;
  }
}
.sider__content {
  height: 100%;

  color: #555;
  background-color: #fff;
  padding-bottom: 12px;
}
.menu {
  -webkit-user-select: none;
  > li {
    overflow: hidden;

    cursor: pointer;
    &:hover {
      .menu__firstMenu {
        color: @link-color;
      }
    }
    &.active {
      .menu__firstMenu {
        color: @primary-color;
      }
      .menu__direction-icon {
        transition: all .5s;
        transform: rotate(-180deg);
      }
    }
  }
}
.menu__firstMenu {
  font-size: @font-size-base;
  line-height: 56px;

  position: relative;
  // height: 54px;

  padding: 0 40px 0 48px;

  color: #555;
  background-color: #fff;
  &.no-icon {
    .firstmenu__title {
      margin-left: -28px;
    }
  }
}
.menu__icon {
  font-size: @font-size-lg;

  position: absolute;
  top: 0;
  left: 0;

  width: 68px;
  height: 48px;
  padding-left: 18px;
}
.menu__direction {
  font-size: @font-size-base;

  position: absolute;
  top: 0;
  right: 8px;

  height: 56px;
  padding-right: 24px;
}
.sub-menu {
  > li {
    font-size: @font-size-base;
    padding: 8px 0;
    line-height: 26px;

    color: #555;
    &:hover {
      color: @link-color;
    }
    &.active {
      color: @primary-color;
    }
  }
}
